﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AccessControl.Contracts.Settings;

namespace AccessControl.Gateway.Settings
{
	/// <summary>
	/// Represents Settings service
	/// </summary>
	/// <remarks></remarks>
	public class SettingsService : ISettingsService
    {
        #region Public Properties

        /// <summary>
		/// Gets the cameras settings.
		/// </summary>
		/// <remarks></remarks>
		public ICamerasSettings Cameras
		{
			get { return CamerasSettings.Instance; }
		}

		/// <summary>
		/// Gets the entries settings.
		/// </summary>
		/// <remarks></remarks>
		public IEntriesSettings Entries
		{
			get { return EntriesSettings.Instance; }
		}

		/// <summary>
		/// Gets the maps settings.
		/// </summary>
		/// <remarks></remarks>
		public IMapsSettings Maps
		{
			get { return MapsSettings.Instance; }
		}

		/// <summary>
		/// Gets the operators settings.
		/// </summary>
		/// <remarks></remarks>
		public IOperatorsSettings Operators
		{
			get { return OperatorsSettings.Instance; }
		}

		/// <summary>
		/// Gets the sensors settings.
		/// </summary>
		/// <remarks></remarks>
		public ISensorsSettings Sensors
		{
			get { return SensorsSettings.Instance; }
		}

		/// <summary>
		/// Gets the users settings.
		/// </summary>
		/// <remarks></remarks>
		public IUsersSettings Users
		{
			get { return UsersSettings.Instance; }
		}

		#endregion		
	}
}
